* {
    padding: 0;
    margin: 0;
}
html,body {
    width: 100%;
    height: 100%;
    background: url("/assets/images/login_bg.jpg") no-repeat center top;
    background-size:cover;
}
.layui-main {
    padding-top: 20px;
}
.login-and-reg {
    width: 400px;
    height: 310px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
}

.title-box {
    height: 60px;
    background: url(/assets/images/login_title.png) no-repeat center center;
}
.layui-form {
    padding: 0 30px;
}
.layui-form-item {
    position: relative;
}
.layui-form-item i {
    position: absolute;
    top: 10px;
    left: 10px;
}
.layui-form-item input {
    padding-left: 31px;
    
}
.layui-form-item a {
    font-size: 12px;
}